//
//  B_WaithandelViewController.m
//  penzer
//
//  Created by caiyc on 2018/10/6.
//  Copyright © 2018年 caiyc. All rights reserved.
//

#import "B_WaithandelViewController.h"
#import "InvationViewController.h"
@interface B_WaithandelViewController ()<UITableViewDelegate,UITableViewDataSource>

@end

@implementation B_WaithandelViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setB_Navigation:0 andTitle:@"待办中心" andNaviColor:BUTTON_COLOR andTitleColor:[UIColor blackColor] andRightimg:@"" andsel:nil];
    self.tableVidew.delegate = self;
    self.tableVidew.dataSource = self;
    // Do any additional setup after loading the view from its nib.
}
-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    return 10;
}
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    static NSString *cellId = @"cell";
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:cellId];
    if(!cell){
        cell = [[UITableViewCell alloc]initWithStyle:UITableViewCellStyleValue2 reuseIdentifier:cellId];
    }
    return cell;
}
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
    InvationViewController *vc = [[InvationViewController alloc]init];
    [self pushSecondVC:vc];
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
